﻿using System;
using System.Collections.Generic;
using System.Web;

namespace WebSite.Ajax.Comment
{
    /// <summary>
    /// Handler1 的摘要说明
    /// </summary>
    public class Handler1 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            context.Response.Write("Hello World");

            string aa = Convert.ToString(context.Request.Form["content"]);

            string actionFrom =context.Request.UrlReferrer.PathAndQuery; ;

            context.Response.Redirect(actionFrom);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}